<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>请填写服务器信息</title>
</head>
<body>
    <center>
        <form action="/add_server" method="post">
            <input type="text" required="required" placeholder="请输入服务器地址" name="host"  aria-label="" style="width: 200px;height: 28px"><br>
            <input type="text" placeholder="请输入服务器端口（默认636）" name="port"  aria-label="" style="width: 200px;height: 28px"><br>
            <input type="text" required="required" placeholder="请输入域管理员账号" name="username"  aria-label="" style="width: 200px;height: 28px"><br>
            <input type="text" required="required" placeholder="请输入域管理员密码" name="password"  aria-label="" style="width: 200px;height: 28px"><br>
            <button type="submit" name="submit" value="submit" style="width: 208px;height: 28px">提交</button>
        </form>

        {% with messages = get_flashed_messages() %}
            {% if messages %}
                {% for message in messages %}
                    <div> <p style="color: red">{{ message }}</p></div>
                {% endfor %}
            {% endif %}
        {% endwith %}
    </center>
</body>
</html>